Skip to content

public Vote::getRankingAsArrayString

Read it at the source

Description

php
public Vote->getRankingAsArrayString ( [?CondorcetPHP\Condorcet\Election $context = null] ): array

Return the vote actual ranking complete for the contexte of the provide election. Election must be linked to the Vote object.

Parameter

context: ?CondorcetPHP\Condorcet\Election

An election already linked to the Vote.

Return value

(array) Contextual full ranking, with string instead Candidate object.


Released under the MIT License.